﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DJY.Domain.Entity.WorkFlow
{
    /// <summary>
    /// 实例节点参数 实体
    /// </summary>
    public class WFInstanceNodePropertyEntity
    {
        /// <summary>
        /// 实例节点ID
        /// </summary>
    	public long NodeId
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 参数名
        /// </summary>
		[StringLength(50)]
    	public string Key
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 参数值
        /// </summary>
		[StringLength(16)]
    	public string Value
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 参数中文简称
        /// </summary>
		[StringLength(100)]
    	public string Name
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 记录ID
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
    	public long Id
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 属性类型，1属性，2数据
        /// </summary>
    	public byte PropType
    	{
    		get;
    		set;
    	}
        
    }
}
